home *** CD-ROM | disk | FTP | other *** search
Wrap
Purpose: Makes programmers jobs easier by having all the code encapsulated inside of this excellent number-only control. Performs formatting of your number using a Thousand delimiter (or not) and allows 0 to 10 decimal places. The control will alway return a DOUBLE. Please refer to Microsoft's help documentation concerning a DOUBLE. Say good-bye to tons of little code snippets and the masked-edit control. Installation: Copy the file to any folder and register the ocx by using Regsvr32.exe or Add the Component by browsing for it while you are in the IDE. Status: Freeware, but $10 would be appreciated if you find this control helpful. No expiration date, no missing functionality. Contact: John Lueders P.O. Box 505 Southeastern PA 19399 jcls@erols.com <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> NUMBERBOX written using Microsoft Visual Basic 6.0 Properties: Name: Read/Write: When: Remarks: AllowInvert Read/Write Design/Runtime AllowNegation Read/Write Design/Runtime Set to True if you want the "-" key to toggle between pos. and neg. states BackColor Read/Write Design/Runtime DecimalPlaces Read/Write Design/Runtime Can be between 0 and 10. If set during Runtime, it will zero out the control. Font Read/Write Design/Runtime ForeColor Read/Write Design/Runtime ReadOnly Read/Write Design/Runtime MaximumValue Read/Write Design/Runtime MinimumValue Read/Write Design/Runtime Text Read Runtime Returns the text just as you see it. UseThousandDelimiter Read/Write Design/Runtime Will use the Systems Thousand Delimiter. See Method: ShowCurrencySettings Value Read/Write Runtime Returns a DOUBLE. Methods: Invert Dependent on AllowInvert. Hit the "I" key to invert (1 / Value) the Value ShowCurrencySettings Hit Ctrl + "R" to bring up the Regional Settings Control Panel Currency tab. Events: Change <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Legal Remarks: I, John Lueders, am not legally responsible for errors that might occur in your application due to the implementation of this control. It has been tested by me, and I feel as though it is an excellent product. That does not mean that it should not be tested by you or your company's QA department.